package com.jingdong.service;

import com.jingdong.pojo.BaoGaoDetail;
import org.springframework.data.domain.Page;

import java.util.List;

public interface BaoGaoDetailCategoryService {

    /**
     *
     * @param page
     * @param size
     * @param baoGaoDetail
     * @return
     * @throws Exception
     */
    Page<BaoGaoDetail> findALLByLikeTitle(Integer page, Integer size,BaoGaoDetail baoGaoDetail) throws Exception;

    /**
     * 分页全查
     * @param page
     * @param size
     * @return
     * @throws Exception
     */
    Page<BaoGaoDetail> findAll(Integer page, Integer size) throws Exception;
}
